package com.kingdee.pda.entity;

import java.util.List;

/**
 * @author：dlj
 * @data：2021/9/22 11:16
 * @des：
 */
public class OutCheckRequestBean {

    /**
     * id : 1081786054291259392
     * detail : [{"seq":"1","detailid":"1093516169882646528","skuid":"1004182249194654720","scannedqty":"100","snlist":[{"id":123456,"sn":"SN001"},{"id":34567,"sn":"SN002"}]}]
     */

    private String id;
    private String type;
    private boolean halfWayCodeStatus;
    private List<DetailBean> detail;

    public boolean isHalfWayCodeStatus() {
        return halfWayCodeStatus;
    }

    public void setHalfWayCodeStatus(boolean halfWayCodeStatus) {
        this.halfWayCodeStatus = halfWayCodeStatus;
    }

    public String getType() {
        return type == null ? "" : type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<DetailBean> getDetail() {
        return detail;
    }

    public void setDetail(List<DetailBean> detail) {
        this.detail = detail;
    }

    public static class DetailBean {
        /**
         * seq : 1
         * detailid : 1093516169882646528
         * skuid : 1004182249194654720
         * scannedqty : 100
         * snlist : [{"id":123456,"sn":"SN001"},{"id":34567,"sn":"SN002"}]
         */

        private String seq;
        private String detailid;
        private String skuid;
        private String scannedqty;
        private List<SnlistBean> snlist;

        public String getSeq() {
            return seq;
        }

        public void setSeq(String seq) {
            this.seq = seq;
        }

        public String getDetailid() {
            return detailid;
        }

        public void setDetailid(String detailid) {
            this.detailid = detailid;
        }

        public String getSkuid() {
            return skuid;
        }

        public void setSkuid(String skuid) {
            this.skuid = skuid;
        }

        public String getScannedqty() {
            return scannedqty;
        }

        public void setScannedqty(String scannedqty) {
            this.scannedqty = scannedqty;
        }

        public List<SnlistBean> getSnlist() {
            return snlist;
        }

        public void setSnlist(List<SnlistBean> snlist) {
            this.snlist = snlist;
        }
    }
}
